import {
    center,
} from '@/css/DialogsCss.module.scss';
export default {
    title:'联系人详情',
    dialog:{
        size:750
    },
    onMounted: [{
        action: 'set',
        target: '$widgets.formbasic',
        field: 'value',
        value: '$params'
    }],
    items: [{
        region: 'center',
        class: center,
        layout: 'vertical',
        items: [{
            layout: 'vertical',
            items: [{
                id: 'formbasic',
                widget: 'form',
                layout: {
                    type:'gridform',
                    column:1
                },
                fields:[{
                    itemId: 'full_name',
                    widget:'form-text',
                    label:'姓名',
                },{
                    itemId: 'family_name',
                    widget:'form-text',
                    label:'姓',
                },{
                    itemId: 'middle_name',
                    widget:'form-text',
                    label:'中间名',
                },{
                    itemId: 'given_name',
                    widget:'form-text',
                    label:'名',
                },{
                    itemId: 'nick_name',
                    widget:'form-text',
                    label:'昵称',
                },{
                    itemId: 'birthday',
                    widget:'form-text',
                    label:'出生日期',
                },{
                    itemId: 'primary_tel',
                    widget:'form-text',
                    label:'手机号码',
                },{
                    itemId: 'primary_mail',
                    widget:'form-text',
                    label:'邮箱地址',
                },{
                    itemId:'is_shared',
                    widget:'select',
                    print: true,
                    dictionary: 'common/static/shared',
                    label:'是否共享',
                },{
                    itemId: 'remarks',
                    widget:'form-text',
                    label:'备注信息',
                }],
                flex: true
            }]
        }]
    }]
};


